package com.xdjd.mobile.business.entity.param;


import com.gitee.easyopen.doc.annotation.ApiDocField;

import javax.validation.constraints.Min;

/**
 * 分页基础请求参数
 */
public class BasePageParam extends BaseParam {

	@ApiDocField(description = "页码", required = true,example = "1")
	@Min(value = 1)
	private int pageIndex = 1;

	@ApiDocField(description = "条数", required = true,example = "10")
	@Min(value = 1)
	private int pageSize = 10;

	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

}
